package com.jnc.common.constant;

/**
 * @Auther: jjn
 * @Date: 2018/8/12
 * @Desc: 系统常量
 */
public class SysConstant {
    public static final String CHARSET_NAME = "UTF-8";   //字符集编码

    public static final int HTTP_CODE_SUCCESS = 200;     //http成功状态码

    public static final int STATUS_CODE_OK = 0;    //状态码正常
    public static final int STATUS_CODE_ERROR = 1;    //状态码异常



    public static final String TX_BASE_NAME = "baseTransactionManager";  //基础事务管理器名称



    public static String PAGE_NUM = "pageNum";   //当前页码

    public static String PAGE_SIZE = "pageSize";  //每页显示记录数

    public static String ORDER_BY_COLUMN = "orderByColumn";  //排序列

    public static String ORDER_RULE = "orderRule";   //排序规则(desc 或 asc)



    public static final String CURRENT_USER = "currentUser";   //当前登录的用户Key

    public static final String CURRENT_USER_NAME = "username";  //用户名Key

    public static final String AUTO_REMOVE_TABLE_NAME_PRE = "yes";  //是否自动去除表名前缀

}
